<!DOCTYPE html>
<html lang="en"><head>
    <meta charset="utf-8">
    <title>Swiper demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="/public/static/mobile/css/swiper.min.css">

    <!-- Demo styles -->
    <style>
    html, body {
        position: relative;
        height: 100%;
    }
    body {
        background: #eee;
        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
        font-size: 14px;
        color:#000;
        margin: 0;
        padding: 0;
    }
    .swiper-container {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    .swiper-slide {
        background-position: center;
        background-size: cover;
    }
    </style>
</head>
<body>
    <!-- Swiper -->
    
    <div id="index">
        <div class="swiper-container swiper-container-horizontal swiper-container-fade">
            <div class="swiper-wrapper">
                <div class="swiper-slide swiper-slide-active" style="background-image: url(/public/static/mobile/image/guideImg1.jpg); width: 100%; opacity: 1; transform: translate3d(0px, 0px, 0px);"></div>
                <div class="swiper-slide swiper-slide-next" style="background-image: url(/public/static/mobile/image/guideImg2.jpg); width: 100%; opacity: 0; transform: translate3d(-414px, 0px, 0px);"></div>
                <!--<div class="swiper-slide" style="background-image: url(images/img-3.jpg); width: 100%; opacity: 0; transform: translate3d(-828px, 0px, 0px);"></div>
                <div class="swiper-slide" style="background-image: url(images/img-4.jpg); width: 100%; opacity: 0; transform: translate3d(-828px, 0px, 0px);"></div>-->
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination swiper-pagination-white swiper-pagination-clickable swiper-pagination-bullets">
                <span class="swiper-pagination-bullet swiper-pagination-bullet-active"></span>
                <span class="swiper-pagination-bullet"></span>
                <span class="swiper-pagination-bullet"></span>
            </div>
        </div>
    </div>

    <!-- Swiper JS -->
    <script src="/public/static/mobile/js/swiper.min.js"></script>

    <!-- Initialize Swiper -->
    <script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: '.swiper-pagination',
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        spaceBetween: 30,
        effect: 'fade',
        loop: false,
        autoplay:1500
    });
    </script>
<script type="text/javascript">
	var time="{$info.time|default='3'}";
	new Vue({
		el: '#index',
		data: function () {
        }
    })
    </script>
</body>
</html>